mkdir bin
::del /q %~dp0\output\*
:: fix egg pain
copy /y %~dp0\NSIS\makensis.exe %~dp0\NSIS\makensis.exe.bak
del /q %~dp0\NSIS\makensis.exe
copy /y %~dp0\NSIS\makensis.exe.bak %~dp0\NSIS\makensis.exe

%~dp0\NSIS\makensis.exe %~dp0Uninstall.nsi
::@pause